import http from './interface'

// 获取验证码
export const getSend_code = (data) => {
    return http.request({
        url: 'users/api/send_code',
        method: 'GET', 
        data
    })
}
// 注册新用户
export const addRegister = (data) => {
    return http.request({
        url: 'users/api/addRegister',
        method: 'POST', 
        data
    })
}
// 注册新用户
export const doLogin = (data) => {
    return http.request({
        url: 'users/api/doLogin',
        method: 'POST', 
        data
    })
}
// 默认全部导出  import api from '@/common/vmeitime-http/'
export default {
	getSend_code,
	addRegister,
	doLogin
}